package org.jeecg.modules.icms.invoice.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.icms.invoice.entity.IcmsInvoiceDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.icms.invoice.vo.IcmsInvoiceDetailVo;
import java.util.List;

/**
 * @Description: 发票行表
 * @Author: jeecg-boot
 * @Date:   2024-01-10
 * @Version: V1.0
 */
public interface IcmsInvoiceDetailMapper extends BaseMapper<IcmsInvoiceDetail> {

    IPage<IcmsInvoiceDetailVo> queryAll(IcmsInvoiceDetailVo icmsInvoiceDetailVo, Page<IcmsInvoiceDetailVo> page);

    List<IcmsInvoiceDetail> queryInvoiceDetailInfoByContract(@Param("contractNo") String contractNo);
}
